package ${location}.common;

import java.io.Serializable;

/**
 * 常量
 *
 * @author ${author}
 */
public final class Constant implements Serializable {
	private static final long serialVersionUID = 1L;

	public static final int ZERO = 0;
	public static final int ONE = 1;
	public static final int TWO = 2;
	public static final int THREE = 3;
	public static final int FOUR = 4;
	public static final int FIVE = 5;
	public static final int SIX = 6;
	public static final int SEVEN = 7;
	public static final int EIGHT = 8;
	public static final int NINE = 9;
	public static final int PORT_8080 = 8080;
	public static final String EMPTY = "";
	public static final String SPACE = " ";
	public static final String LEFT_SLASH = "/";
	public static final String SERVER_PORT = "server.port";
	public static final String CONTEXT_PATH = "server.servlet.context-path";
	public static final String SWAGGER_SWITCH_ENABLE = "spring.swagger-switch.enable";
	public static final String DRUID_SWITCH_ENABLE = "spring.datasource.druid.stat-view-servlet.enabled";
	public static final String DRUID_URL_PATTERN = "spring.datasource.druid.stat-view-servlet.url-pattern";
	public static final String DOC_HTML = "doc.html";
	public static final String LOCALHOST = "http://localhost:";
	/**
	 * 分页条件
	 */
	public static final int DEFAULT_PAGE = 1;
	public static final int DEFAULT_SIZE = 10;
	public static final int MAX_SIZE = 100;
}
